﻿public class CTest {
	public static void main(String[] args) {
		System.out.println("¼ÆËã»úµÄÐÅÏ¢ÈçÏÂ£º");
		CPU c=null;
		CHardDisk ah=null;
		CEMS m=null;
		
		Computer com=new Computer ();
		c=new CCPU();
		ah=new CYingPan();
		m =new CNeicun();
		com.setCpu(c);
		com.setChd(ah);
		com.setCems(m);
		com.print();
		
	}
}